package netudp3;

public class UDPDemo {
	public static void main(String[] args) {
		ChatRoom chatRoom = new ChatRoom("192.168.56.1", 10000, 10001);
		ChatRoom chatRoom1 = new ChatRoom("192.168.56.1", 10001, 10000);
		Thread thread = new Thread(chatRoom);
		Thread thread2 = new Thread(chatRoom1);
		thread.start();
		thread2.start();
	}
}
